package com.haoran.openapi.dwz;

import com.haoran.dwz.dto.DwzGeneratorDTO;
import com.haoran.dwz.rest.R;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.POST;


public interface DwzServiceAPI {
	
	/**
	 * @param dwzGeneratorDTO 
	 * @return
	 */
	@Headers({"Content-type:application/json;charset=UTF-8"})
	@POST("/kyeopenapi/dwz-generate")
	Call<R> generate(@Header("kye") String accessCode,@Header("access-token") String accessToken,@Body DwzGeneratorDTO dwzGeneratorDTO);
	
}
